package com.codefish;

/**
 * 扩展类加载器
 *
 * @author codefish
 * @version 1.0
 * @date 2022/06/12 下午 10:02
 */
public class SimpleExtensionClassLoader extends SimpleClassLoader {

    public SimpleExtensionClassLoader(SimpleClassLoader parentClassLoader) {
        super(parentClassLoader);
        super.loaderName = "扩展";
    }

    @Override
    public void initRegistry() {
        registry.put("Ext1.class", null);
        registry.put("Ext2.class", null);
        registry.put("Ext3.class", null);
    }

}
